<?php

// boot
require '../init.php';

// boot, load libraries, views, controllers we may need
$lib =& loaderInstance();
$lib->load->lib("session"); // lib
$lib->load->lib("cookie");  // lib
$lib->load->lib("index");   // controller

echo "<pre>";
print_r( $lib );
echo "</pre>";

// initialize the front controller
$front  = FrontController::getInstance();
$front->route();

echo $front->getBody();

?>
